const router = require('express').Router();
// 定义主页 admin 和仪表盘
router.get('/', (req, res) => {
  res.render('admin')
})
// 仪表盘
router.get('/dashBoard', (req, res) => {
  res.render("welcome")
})

module.exports = router;